package com.itheima.spring_boot_junit;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @author zero
 * @date 2020/6/10
 */

@RunWith(SpringRunner.class)
@SpringBootTest
public class UserServiceTest2 {

    @Autowired
    private UserService userService;

    @Test
    public void test(){
        userService.add();
    }

}
